package org.orarriinae.common.web.error;

import org.orarriinae.common.base.exception.ErrorInfo;
import org.orarriinae.common.base.exception.ServiceException;

/**
 * 数据异常
 *
 * @author Wang Chengwei
 * @author Xie Jin
 */
public class DataException extends ServiceException {
    public DataException() {
        super();
    }

    public DataException(String message) {
        super(message);
    }

    public DataException(String message, Throwable cause) {
        super(message, cause);
    }

    public DataException(String errorCode, String message) {
        super(errorCode, message);
    }

    public DataException(String errorCode, String message, Throwable cause) {
        super(errorCode, message, cause);
    }

    public DataException(ErrorInfo errorInfo) {
        super(errorInfo);
    }

    public DataException(ErrorInfo errorInfo, Throwable cause) {
        super(errorInfo, cause);
    }

    public DataException(Throwable cause) {
        super(cause);
    }
}
